/*
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#include "EPUB_Style.h"

EPUB_Style::EPUB_Style(const UT_UTF8String &name) :
	m_name(name)
{
}

UT_UTF8String EPUB_Style::getName() const
{
	return m_name;
}

UT_GenericStringMap<UT_UTF8String*> & EPUB_Style::getAttributes()
{
	return m_attributes;
}

void EPUB_Style::setAttribute(const UT_String & attribute, UT_UTF8String *value)
{
	m_attributes.set(attribute, value);
}
